0a75bfe179bc22e36a5623e6b758785da5db6400,src/main/org/codehaus/groovy/vmplugin/v7/IndyInterface.java,IndyInterface,setMetaClassCallHandleIfNedded,#MetaClass#CallInfo#,163
Before Change
} catch (Exception e) {
throw new GroovyBugError(e);
}
ci.handle = ci.handle.bindTo(mc).
asCollector(Object[].class, ci.targetType.parameterCount()-2);
}
After Change
} catch (Exception e) {
throw new GroovyBugError(e);
}
ci.handle = ci.handle.bindTo(mc).bindTo(ci.sender);
ci.handle = MethodHandles.insertArguments(ci.handle, ci.handle.type().parameterCount()-2, true, false);
ci.handle = MethodHandles.insertArguments(ci.handle, 1, ci.methodName);
ci.handle = ci.handle.asCollector(Object[].class, ci.targetType.parameterCount()-2);
}